package com.lanhe.game.adSetEarnings.domain;

import com.lanhe.common.annotation.Excel;
import com.lanhe.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 看广软件的收益分发对象 lh_adset_earnings
 * 
 * @author tianliang
 * @date 2024-02-06
 */
public class LhAdsetEarnings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long adId;

    /** 激励视频的点击次数 */
    @Excel(name = "激励视频的点击次数")
    private Long mVideoCount;

    /** 插屏广告的点击次数 */
    @Excel(name = "插屏广告的点击次数")
    private Long tpAdvertisingCount;

    /** banner广告的点击次数 */
    @Excel(name = "banner广告的点击次数")
    private Long bannerAdvertisingCount;

    /** 激励视频的总收益 */
    @Excel(name = "激励视频的总收益")
    private BigDecimal mVideoEarnings;

    /** 插屏广告的总收益 */
    @Excel(name = "插屏广告的总收益")
    private BigDecimal tpAdvertisingEarnings;

    /** banner广告的总收益 */
    @Excel(name = "banner广告的总收益")
    private BigDecimal bannerAdvertisingEarnings;

    /** 是否分配了收益(0,没有，1,分配了) */
    @Excel(name = "是否分配了收益(0,没有，1,分配了)")
    private Integer state;

    public void setAdId(Long adId) 
    {
        this.adId = adId;
    }

    public Long getAdId() 
    {
        return adId;
    }
    public void setmVideoCount(Long mVideoCount) 
    {
        this.mVideoCount = mVideoCount;
    }

    public Long getmVideoCount() 
    {
        return mVideoCount;
    }
    public void setTpAdvertisingCount(Long tpAdvertisingCount) 
    {
        this.tpAdvertisingCount = tpAdvertisingCount;
    }

    public Long getTpAdvertisingCount() 
    {
        return tpAdvertisingCount;
    }
    public void setBannerAdvertisingCount(Long bannerAdvertisingCount) 
    {
        this.bannerAdvertisingCount = bannerAdvertisingCount;
    }

    public Long getBannerAdvertisingCount() 
    {
        return bannerAdvertisingCount;
    }
    public void setmVideoEarnings(BigDecimal mVideoEarnings) 
    {
        this.mVideoEarnings = mVideoEarnings;
    }

    public BigDecimal getmVideoEarnings() 
    {
        return mVideoEarnings;
    }
    public void setTpAdvertisingEarnings(BigDecimal tpAdvertisingEarnings) 
    {
        this.tpAdvertisingEarnings = tpAdvertisingEarnings;
    }

    public BigDecimal getTpAdvertisingEarnings() 
    {
        return tpAdvertisingEarnings;
    }
    public void setBannerAdvertisingEarnings(BigDecimal bannerAdvertisingEarnings) 
    {
        this.bannerAdvertisingEarnings = bannerAdvertisingEarnings;
    }

    public BigDecimal getBannerAdvertisingEarnings() 
    {
        return bannerAdvertisingEarnings;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adId", getAdId())
            .append("mVideoCount", getmVideoCount())
            .append("tpAdvertisingCount", getTpAdvertisingCount())
            .append("bannerAdvertisingCount", getBannerAdvertisingCount())
            .append("mVideoEarnings", getmVideoEarnings())
            .append("tpAdvertisingEarnings", getTpAdvertisingEarnings())
            .append("bannerAdvertisingEarnings", getBannerAdvertisingEarnings())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
